home *** CD-ROM | disk | FTP | other *** search
/ Dr. Windows 3 / dr win3.zip / dr win3 / GRAPHICS / GCATWN31.ZIP / SETUP.BAT < prev    next >
DOS Batch File  |  1994-04-20  |  3KB  |  77 lines

  1. @REM SETUP.BAT; Graphcat/Windows 3.1
  2. @REM Copyright 1994 Jerry Stern--All Rights Reserved, 04/94
  3. @REM      Use this batch file to install Graphcat in WPWin52 ONLY.
  4. @REM            For WPWIN60, run the macro INSTALL.WCM.
  5. @echo off
  6. cls
  7. if not exist graphwin.doc goto baddir
  8. if not exist graphcat.dll goto baddir
  9. if not exist index.wc5 goto baddir
  10. if "%1"=="" goto info
  11. if "%2"=="" goto info
  12. if not exist %2\*.* goto nomac
  13. if not exist %1\*.* goto new
  14. ECHO Upgrade Installation Graphcat/Windows 3.1 Installation for WPWin 5.2
  15. ECHO Your old graphics and docs from the DOS version will not be replaced.
  16. goto more
  17. :new
  18. ECHO New Installation of Graphcat/Windows 3.1 Installation for WPWin 5.2
  19. :more
  20. ECHO ...
  21. ECHO Files for GRAPHCAT 3.1 for WP/Windows will now be copied:
  22. ECHO Macros and the GRAPHCAT.DLL file will be copied to %2
  23. ECHO A partial set of the instructions and graphics will be copied
  24. ECHO to the directory %1.  You will need about 350K of free space.
  25. ECHO ...
  26. ECHO Press any key to proceed with installation, or Control-C to stop now.
  27. pause > nul
  28. copy graphcat.wc5 %2\graphcat.wcm
  29. copy index.wc5 %2\index.wcm
  30. copy graphcat.dll %2
  31. if not exist %1\*.* md %1
  32. copy *.doc %1\*.*
  33. copy *.wpg %1\*.*
  34. copy printdoc.bat %1\*.*
  35. copy fileindx.* %1\*.*
  36. copy name.ndx %1\*.*
  37. copy vendinfo.diz %1\*.*
  38. ECHO Done...
  39. ECHO If you haven't already,
  40. ECHO run PRINTDOC.BAT for instructions on printing the manual.
  41. goto end
  42. :nomac
  43. ECHO Graphcat/Windows 3.1 Installation for WPWin 5.2
  44. ECHO The directory that you have chosen to copy the macros and DLL file to
  45. ECHO is empty or doesn't exist. Please check the name, and try again.
  46. goto end
  47. :baddir
  48. ECHO Graphcat/Windows 3.1 Installation for WPWin 5.2
  49. ECHO You must start this installation by logging to the drive and directory
  50. ECHO where the files are currently located. When you run SETUP from that
  51. ECHO directory, it will help you find the correct startup command to
  52. ECHO install your software.
  53. goto end
  54. :info
  55. ECHO Graphcat/Windows 3.1 Installation for WPWin 5.2
  56. ECHO ...
  57. ECHO This batch file is ONLY for use with WPWin 5.2. If you need to install
  58. ECHO Graphcat for WPWin 6.0, run INSTALL.WCM from inside WP, by pressing 
  59. ECHO Macro[Alt-F10], path:\install, and Enter, where path is the current 
  60. ECHO location of the Graphcat files.
  61. ECHO ...
  62. ECHO Start SETUP.BAT with the new directory name to make for
  63. ECHO storing Graphcat instructions and graphics, and the name
  64. ECHO of the macro directory used by WordPerfect 5.2, usually
  65. ECHO c:\wpwin\macros or c:\wpwin.
  66. ECHO ...
  67. ECHO If you don't know where WP/WIN 5.2 keeps your macros,
  68. ECHO choose File, Preferences, Location of Files, and write
  69. ECHO down the entry under "Macros/Keyboards/Button Bars" and
  70. ECHO enter it from the DOS prompt. (Press Escape to return to
  71. ECHO the document screen.)
  72. ECHO ...
  73. ECHO For example: 
  74. ECHO SETUP c:\graphcat c:\wpwin\macros
  75. ECHO (Copies package to c:\graphcat, using c:\wpwin\macros for macros.)
  76. :end
  77. PAUSE